package com.yungam.influxdb.config;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class DbConfig {

    private InfluxConfig influx = new InfluxConfig();

    @Data
    public static class InfluxConfig {
        private String url = "http://192.168.20.196:8086/";
        private String org = "chenguang";
        private String token = "s_twF9ECJ3FXnC_xEUShzxIQw0tmLLZZaXplvWQlR9LSU2TamgQt2Idcj7r-oN6aVSQkd10zKRN9qKnWoVkA7Q==";
        // 航天晨光现场配置
//        private String url = "http://173.20.0.222:8086/";
//        private String org = "htcg";
//        private String token = "9HQfG737NEtcpEGuhBSlX-KTVewgXPuJ1DALYDSVsP5Qe3lVC893fOc5qxDdhDLeqr2Zfpkbc4k50XnVnq8jJw==";
////        private String url = "http://121.37.189.9:8086/";
//        private String org = "chenguang";
//        private String token = "wkaZKMNLsQoa0FjeKuJWuhOHRHSP6IKI6lKyOchHvjSWRqeMTcUoqfIgkutp7E1QgkxA_aStzhmAALP50PRElg==";

        private String bucket = "guanti";
    }
}
